<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:include="common/head :: h"></div>

<div th:text="${world}">...</div>
<input th:value="${world}">
<!--<p data-th-text="#{world}">Welcome to our grocery store!</p>-->
[[${world}]]<br/>
<table>
    <tr th:each="l,s:${list}">
        <td>角标</td><td th:text="${s.index}">角标</td>
        <td>行号</td><td th:text="${s.count}">角标</td>
        <td>当前</td><td th:text="${s.last}">角标</td>
        <td>===</td><td th:text="${l}">默认值</td>
    </tr>
</table><br/>
三元运数:<span th:text="${num == 10}?'是10':'不是10'"></span><br/>
if:  <span th:if="${num == 10}"><p>是10</p></span>
if:  <span th:if="${num != 10}">不是10</span><br/>
获取Session中的值:<span th:text="${session.person}"></span><br/>
解析样式 ： <span th:utext="${gname}"></span>
</body>
</html>